#include<stdio.h>
int main()
{
	int x,y;
	printf("please enter x=:\n");
	scanf("%d",&x);
	if(x<1)
	{
		printf("y=%d",y=x);
	}
	if(x>=1||x<10)
	{
		printf("y=%d",y=2*x-1);
	}
	if(x>=10)
	{
		printf("y=%d",y=3*x-11);
	}
	return 0;
}
